package com.qen.zhihulanzhou

import cn.hutool.core.lang.Console
import it.skrape.fetcher.BrowserFetcher
import it.skrape.fetcher.Method
import it.skrape.fetcher.response
import it.skrape.fetcher.skrape

const val PageUrl = "https://wwa.lanzoux.com/b00oj8isd"

fun main() {

    skrape(BrowserFetcher) {
        request {
            url = PageUrl
            headers = initHeader()
            userAgent = UserAgent
        }
        response {
            Console.log(this.responseStatus)
            Console.log(this.responseBody)
        }
    }


}
